package zy.blogs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.core.io.schubfach.DoubleToDecimal;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("Orders")
@Data
public class Order {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("in_dateTime")
    private Date inDateTime;//入场时间

    @TableField("out_dateTime")
    private Date outDateTime;//

    private BigDecimal price;//缴费金额
    @TableField("is_payComplete")
    private boolean isPayComplete;//缴费完成状态
    @TableField("is_requireInvoicing")
    private boolean isRequireInvoicing;//是否开具发票
    private PricingStandard pricingStandard;//关联收费标准
    private ParkingLot parkingLot;//关联停车场
    private Vehicle vehicle;//关联车辆
}
